home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 925 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.jhu.edu!not-for-mail
  2. From: felipe@jhunix.hcf.jhu.edu (Ryan Bobko)
  3. Newsgroups: comp.lang.c
  4. Subject: various troubles in UNIX
  5. Date: 9 Jan 1996 20:11:19 -0500
  6. Organization: Homewood Academic Computing, Johns Hopkins University, Baltimore, Md, USA
  7. Message-ID: <4cv3nn$dmn@jhunix.hcf.jhu.edu>
  8. NNTP-Posting-Host: 128.220.2.5
  9.  
  10. Hi folks.
  11.  
  12. Having a bit of time on my hands, I thought it would be nice to write a 
  13. game for unix...  I thought it might be a productive way to spend my  
  14. Christmas vacaction, but it's turning more sinister by the day.
  15.  
  16. Basically, I'm trying to make something for terminals, with graphics akin 
  17. to NETHACK or MORIA.  But how do you refresh the screen when something 
  18. moves?  Just redrawing it is not a good alternative (as the system often 
  19. gets bogged down), but that's the extent of my knowledge.
  20.  
  21. Also, on a more general note, how does one link separate code?  Let's say 
  22. I have a program called "map.c" and one called "game.c," and I want to 
  23. call on "map" from "game."  How would I do that?
  24.  
  25. Thanks in advance,
  26.  
  27. ryan
  28.  
  29.